docs: correct connector schema registration to loader-entry pattern - #32775
docs: correct connector schema registration to loader-entry pattern#32775detail-app[bot] wants to merge 1 commit into
Conversation
|
Hi there 👋 Thanks for your contribution! The OpenMetadata team will review the PR shortly! Once it has been labeled as Let us know if you need any help! |
✅ Playwright Results — workflow succeededValidated commit ✅ 619 passed · ❌ 0 failed · 🟡 0 flaky · ⏭️ 0 skipped · 🧰 0 lifecycle flaky PerformanceBlocking targets: ✅ met · Optimization targets: 🟡 in progress Shard-job maxima below are not the full workflow wall time; the linked run includes build, fixture, planning, and reporting. 🕒 Full workflow signal wall (to summary) 52m 51s ⏱️ Max setup 5m 51s · max shard execution 19m 25s · max shard-job elapsed before upload 22m 31s · reporting 6s 🌐 241.75 requests/attempt · 2.74 app boots/UI scenario · 33.73% common-shard skew Optimization targets still in progress:
How to debug locally# Download playwright-test-results-<shard> artifact and unzip
npx playwright show-trace path/to/trace.zip # view trace |
|



Describe your changes:
Fixes # (no issue — documentation drift correction)
I corrected six living docs that still described the removed "import the
connection schema and add a
case '<Service>':switch statement" UI-utilsstep for registering a new connector. After the connection-schema move to
public/and the introduction of the asyncloadConnectionSchemahelper,the service utils (
DatabaseServicePureUtils.ts,DriveServiceUtils.ts,MetadataServiceUtils.ts,APIServiceUtils.ts,StorageServiceUtils.ts,...) now expose a
<serviceType>SchemaLoadersmap and register newconnectors by adding a loader entry that calls
loadConnectionSchema('connections/...')— no static import, no switch case.Example of the failure the stale docs would cause: an agent or developer
following
skills/connector-building/GUIDE.mdStep 4 for a new connectorMyDbwould try to addcase 'MyDb':toDatabaseServiceServiceUtils.tsx,which no longer exists (the file is
DatabaseServicePureUtils.tsand hasno switch). The new connector's form fields would never render, and the
build would fail on the missing import.
Files corrected:
Introduced by commit 171b66d (@chirag-madlani, #32466)
Type of change:
High-level design:
N/A — small documentation-only change.
Tests:
Not applicable — documentation only.
UI screen recording / screenshots:
Not applicable.
Checklist:
Fixes <issue-number>: <short explanation>Fixes #<issue-number>above.Doc Drift PRs can be configured here.